<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="model.service.*"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>  
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="c-rt" uri="http://java.sun.com/jstl/core_rt" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title><tiles:getAsString name="title"></tiles:getAsString></title>
<link href="reset.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="css/tooltip.css" rel="stylesheet" type="text/css" />
<link href="js/jquery.wysiwyg.css" rel="stylesheet" type="text/css" />
<link type="text/css" media="screen" rel="stylesheet" href="js/colorbox.css" />
<link type="text/css" media="screen" rel="stylesheet" href="js/colorbox-custom.css" />
<style type="text/css">
div.wysiwyg ul.panel li {padding:0px !important;} /**textarea visual editor padding override**/
/*
.png { 
    tmp:expression(setPng24(this)); 
} 
*/
</style>
<script type="text/javascript"> 
/*
function setPng24(obj) { 
    obj.width=obj.height=1; 
    obj.className=obj.className.replace(/\bpng24\b/i,''); 
    obj.style.filter = 
    "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');";
    return ''; 
} 
*/
</script>
<!--[if lte IE 7]>
<style type="text/css">
ul.list-links li a {
padding:6px 3px 5px 20px;
}

ul.list-links1 li ul li a:hover {background-position:5px 6px;}

ul.list-links1 li ul li a {background:none; padding:3px 3px 3px 15px !important; margin-left: 1px;}
.push {height:99px;}
div.box {margin-bottom:0px; }
</style>
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" href="ie.css" type="text/css" />
<style type="text/css">
ul.list-links1 li a {
 display:inline;
}
ul.list-links li ul li a{
padding:0px 3px 0px 20px !important;
}
ul.list-links li ul li a:hover {
background-position:1px 3px;
}
 img { behavior: url(css/csshover.htc); }
 div#top {margin-bottom:3px;}
 
 .procssButton2, .procssApplyButton2 {margin-left: 0px}
.procssButton3, .procssButton4, .procssButton5, .procssButton6, .procssButton7
, .procssApplyButton3, .procssApplyButton4, .procssApplyButton5, .procssApplyButton6, .procssApplyButton7
  {margin-left: -5px}
</style>

<![endif]-->
<!--[if IE 7]>
<style type="text/css">
 div#top {margin-bottom:5px;}
</style>
<![endif]-->
<!--[if IE]>
			<link type="text/css" media="screen" rel="stylesheet" href="js/colorbox-custom-ie.css" title="Cleanity" />
			<style type="text/css">
			div.box, div.box h4, .topRadius, .RadiusAll {
				behavior: url(css/PIE.htc);
			}
			</style>
<![endif]-->
<!--말 줄임 css(모든 브라우저 적용)-->
<style type="text/css">
.ellipsis{
	white-space:nowrap;
	text-overflow:ellipsis;		/* IE, Safari */
	-o-text-overflow:ellipsis;		/* Opera under 10.7 */
	overflow:hidden;			/* "overflow" value must be different from "visible" */ 
	-moz-binding: url('ellipsis.xml#ellipsis');
	cursor:pointer
}
</style>

<script type="text/javascript" src="calendar/jquery-1.4.4.min.js"></script>
<script src="js/jquery.cookie.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="js/jquery.ui.js"></script>
<script type="text/javascript" src="js/jquery.corners.min.js"></script>
<script type="text/javascript" src="js/bg.pos.js"></script>
<script type="text/javascript" src="js/jquery.wysiwyg.js"></script>
    <script type="text/javascript" src="js/jquery.fixedtable.js"></script>
<script src="js/jquery.tabs.js" type="text/javascript"></script> 
<script src="js/jquery.filestyle.js" type="text/javascript"></script>


<script type="text/javascript" src="script/tooltip.js"></script>
<script type="text/javascript" src="script/member.js"></script>
<script type="text/javascript" src="script/project.js"></script>
<script type="text/javascript" src="script/sms_util_script.js"></script>
<script type="text/javascript" src="script/sms_riskI_script.js"></script>
<script type="text/javascript" src="script/sms_riskI_ajax_script.js"></script>
<script type="text/javascript" src="script/sms_asset_script.js"></script>
<script type="text/javascript" src="script/sms_asset_ajax_script.js"></script>

<script type="text/javascript">
function winClose(){
	window.close();
}
</script>

</head>
<body>
<%
//ie 67인지 확인
	String userAgent =  request.getHeader("User-Agent");
	boolean isMSIE67 =((userAgent != null && userAgent.indexOf("MSIE 6") > -1) || (userAgent != null && userAgent.indexOf("MSIE 7") > -1));
	request.setAttribute("isMSIE67", isMSIE67);
	//ie 6인지 확인
	boolean isMSIE6 =((userAgent != null && userAgent.indexOf("MSIE 6") > -1));
	request.setAttribute("isMSIE6", isMSIE6);
%>
<!-- 레이아웃 기본이되는 페이지 -->
<%--
<%
	if(session.getAttribute("mvo")==null){%>
		<script type="text/javascript">
		alert("연결이 끊어졌습니다. 다시 로그인 해주시기 바랍니다");
		</script>		
	<%response.sendRedirect("index.jsp");}
%>
 --%>
 <c:choose>
 	<c:when test="${sessionScope.USER_ID==null}">
 		<script type="text/javascript">
			alert("연결이 끊어졌습니다. 다시 로그인 해주시기 바랍니다");
			//winClose();
			location.href="index.jsp";
		</script>	
 	</c:when>
 	<c:otherwise>
 	
 
<div id="container">
    <div class="hidden">
    <div id="sample-modal"><h2 style="font-size:160%; font-weight:bold; margin:10px 0;">Modal Box Content</h2><p>Place your desired modal box content here</p></div>
    </div><!-- end of hidden -->
    <div id="header">
	<tiles:insertAttribute name="header"></tiles:insertAttribute>
	<span class="clearFix">&nbsp;</span>
	</div><!-- end of #header -->

<div id="content">
<!-- 
	<div id="content-top">
      <a href="#" id="topLink">Change Order</a> 
      <span class="clearFix">&nbsp;</span>
      </div>
 -->
      <!-- end of div#content-top -->
      <div id="left-col">
			<tiles:insertAttribute name="menu"></tiles:insertAttribute>
      </div> <!-- end of div#left-col -->
      
      <div id="mid-col" class="full-col"><!-- end of div.box -->
			<tiles:insertAttribute name="body"></tiles:insertAttribute>
      </div><!-- end of div#mid-col --><!-- end of div#right-col -->     
      
      <span class="clearFix">&nbsp;</span>     
</div><!-- end of div#content -->
<%--<div class="push"></div> --%>
</div><!-- end of #container -->
<%--
<div id="footer-wrap">
	<tiles:insertAttribute name="bottom"></tiles:insertAttribute>
</div>
 --%>
<!-- end of #footer-wrap -->


	</c:otherwise>
 </c:choose>
</body>
</html>